<?php
class top extends Controller {
	public function html() {
		$mUser = new User_model();
		$currUser = $mUser->currUser();
		if(!$currUser) header('Location:/auth/login');
		
		$tpl = 'top.html';
		$mRbac = new Rbac_model();
		$data['platforms'] = $mRbac->platformByUid($currUser['uid']);
		$this->display($data, $tpl);
	}
}